package com.project.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 合同供方单位对象  biz_unit_aptitude
 *
 * @author baige
 * @date 2025-02-17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("合同供方单位对象")
public class BizUnitAptitude extends TimeUserEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;


    @ApiModelProperty("单位名称")
    private String name;

    @ApiModelProperty("社会信用代码")
    private String code;

    @ApiModelProperty("单位性质")
    private String buyerType;

    @ApiModelProperty("单位联系人")
    private String contacts;

    @ApiModelProperty("单位电话")
    private String telephone;

    @ApiModelProperty("注册资金")
    private String regFund;

    @ApiModelProperty("证书有效状态")
    private String validType;

    @ApiModelProperty("证书有效日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date validDate;

    @ApiModelProperty("单位所在省份")
    private String province;

    @ApiModelProperty("单位所属地市")
    private String city;

    @ApiModelProperty("单位地址")
    private String address;

    @ApiModelProperty("营业执照附件")
    private String licence;

    @ApiModelProperty("备注")
    private String note;

    @ApiModelProperty("收款人")
    private String payee;

    @ApiModelProperty("开户银行")
    private String bankName;

    @ApiModelProperty("开户账号")
    private String bankAccount;

    @ApiModelProperty("国别")
    private String nationality;

    @ApiModelProperty("是否海外单位")
    private String isOverseas;

    @TableField(exist = false)
    private List<Map<String,String>> fileList;


}
